import request from '@/utils/request'

// 查询京东到家库存同步日志列表
export function listLog(query) {
  return request({
    url: '/system/log/list',
    method: 'get',
    params: query
  })
}

// 删除京东到家库存同步日志
export function delLog(id) {
  return request({
    url: '/system/log/' + id,
    method: 'delete'
  })
}

// 清理京东到家库存同步日志
export function clearLog() {
  return request({
    url: '/system/log/clear',
    method: 'delete'
  })
}
